<template>
  <div>
    <el-input
      v-model="skipLinks"
      placeholder="请输入内容"
    ></el-input>
    <el-button @click="obtain">
      获取链接
    </el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      skipLinks: "",
      saleId: "",
    };
  },
  methods: {
    obtain() {
      this.saleId = localStorage._id;
      this.skipLinks = "https://www.bilibili.com/?_id=" + this.saleId;
    },
  },
};
</script>

<style>
.el-input {
  width: 600px;
}
.el-button {
  background-color: paleturquoise;
}
</style>
